<?php namespace App\Domain\Item\Model;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Notifications\Notifiable;




class Item extends Model
{
    use Notifiable;

    protected $table = 'Items';
    public $timestamps = false;
    public $primaryKey = 'SerialNo';


    const STATUS_1 =1; //仓库
    const STATUS_2 =2; //待上架
    const STATUS_3 =3; //已上架
    const STATUS_4 =4; //外借
    const STATUS_5 =5; //下架
    const STATUS_6 =6; //出售


    /**
     * The attributes that are mass assignable.
     *
     * @var array
     */
    protected $fillable = [
        'SerialNo',
        'MarcID',
        'BarCode',
        'Source',
        'Coin',
        'Price',
        'SFlag',
        'RID',
        'MemberUnitID',
        'Place',
        'LTType',
        'PSLevel',
        'PJH',
        'InBatch',
        'InTime',
        'LTSign',
        'LTStatus',
        'YYSign',
        'OPID',
        'FJMemo',
        'sold_price',
        'rent_price',
        'DoorID',
        'bookstatus'
    ];
}